package com.ld.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduleTask {


    @Scheduled(cron = "0/3 * * * * ?")
    public void task(){
        System.out.println("nihao");
    }
}
